import permission_role_menu from '@/store/modules/permission_role_menu'

const getters = {
  sidebar: state => state.app.sidebar,
  device: state => state.app.device,
  token: state => state.user.token,
  avatar: state => state.user.avatar,
  name: state => state.user.name,
  dynamicPath: state => state.user.dynamicPath,
  permission_routes: state => state.permission.routes,
  sidebarRouters: state => state.permission_ry.sidebarRouters,
  permission_role_menu: state=>state.permission_role_menu.routes
}
export default getters
